import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store, { key } from './store'
import Antd from 'ant-design-vue';
import { message } from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
//import 'ant-design-vue/dist/antd.css';

createApp(App).use(Antd).use(store,key).use(router).mount('#app')

// main.ts
 
// 进行全局配置
message.config({
    top: `0.7rem`,//高度位置
    duration: 3,//提示持续时间
    maxCount: 20,//最大页面同时展示几条
  });
  


